<%@ page contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib  uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib  uri="http://www.springframework.org/security/tags" prefix="sec" %>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<table class="table table-hover table-striped table-bordered table-condensed">
<thead>
  <tr>
    <td>
     <button class="btn btn-success" id="addBtn">新增客户</button>
      
    </td>
  </tr>
  <tr>
    <th>名称</th>    
    <th>管理</th>
  </tr>
</thead>
<tbody>
  <c:forEach items="${pager.rows}" var="item">
   <tr>
    <td>
      ${item.name}
    </td>   
    <td>
      <button class="btn btn-danger btn-mini" onclick="removeOne('${item.id}')">
         <i class="icon-remove-sign icon-white"></i>
      </button>  
    </td>
   </tr>  
  
  </c:forEach>
</tbody>
<tfoot>
 <td colspan="2">
  ${pager.pagination}
 </td>
</tfoot>
</table>
<script type="text/javascript">
 var cpage = '${page}';
</script>
<script type="text/javascript" src="scripts/apps/contract/client/list.js"></script>